<!DOCTYPE HTML>
<html>
<head>
    <title>BUI+bootstrap风格后台管理系统模板-www.daimajiayuan.com</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="<?=ASSETS?>home/css/dpl-min.css" rel="stylesheet" type="text/css" />
    <link href="<?=ASSETS?>home/css/bui-min.css" rel="stylesheet" type="text/css" />
    <link href="<?=ASSETS?>home/css/main-min.css" rel="stylesheet" type="text/css" />
</head>
<body>

<div class="header">

    <div class="dl-title">
        <a href="http://www.builive.com" title="文档库地址" target="_blank"><!-- 仅仅为了提供文档的快速入口，项目中请删除链接 -->
            <span class="dl-title-text">博客后台管理系统</span>
        </a>
    </div>

    <div class="dl-log">欢迎您，<span class="dl-log-user"><?=$user->user_name?></span><a href="<?=web_url('home/logout',true)?>" title="退出系统" class="dl-log-quit">[退出]</a>
    </div>
</div>
<div class="content">
    <div class="dl-main-nav">
        <div class="dl-inform"><div class="dl-inform-title">贴心小秘书<s class="dl-inform-icon dl-up"></s></div></div>
        <ul id="J_Nav"  class="nav-list ks-clear">
            <li class="nav-item dl-selected"><div class="nav-item-inner nav-home">个人中心</div></li>
            <li class="nav-item "><div class="nav-item-inner nav-supplier">内容管理</div></li>
        </ul>
    </div>
    <ul id="J_NavContent" class="dl-tab-conten">

    </ul>
</div>
<script type="text/javascript" src="<?=ASSETS?>home/js/jquery-1.8.1.min.js"></script>
<script type="text/javascript" src="<?=ASSETS?>home/js/bui.js"></script>
<script type="text/javascript" src="<?=ASSETS?>home/js/config.js"></script>
<script type="text/javascript" src="<?=ASSETS?>home/js/common/main-min.js"></script>
<script>
    BUI.use('common/main',function(){
        var config = [ {
            id:'user',
            homePage:'index',
            menu:[{
                text:'个人中心',
                items:[
                    {id:'index',text:'个人信息',href:'<?=web_url('myself',true)?>',closeable : false},
                    {id:'main-menu',text:'安全',href:'<?=web_url('myself/safe',true)?>'},
                    {id:'second-menu',text:'操作日志',href:'<?=web_url('myself/log',true)?>'},
                    {id:'user_about',text:'关于',href:'<?=web_url('myself/about',true)?>'}
                ]
            },
                {
                    text:'留言板',
                    items:[
                        {id:'add_talk',text:'留言列表',href:'<?=web_url('myself/message',true)?>'}
                    ]
                }

            ]

        },
        {
                id:'content',
                homePage:'push_article',
                menu:[{
                    text:'文章管理',
                    items:[
                        {id:'push_article',text:'发布文章',href:'<?=web_url('article/publish',true)?>'},
                        {id:'article_list',text:'文章列表',href:'<?=web_url('article',true)?>'},
                        {id:'caogao',text:'草稿箱',href:'<?=web_url('article/draft',true)?>'},
                        {id:'article_type',text:'文章类型',href:'<?=web_url('article/type',true)?>'},
                        {id:'article_commonts',text:'评论列表',href:'<?=web_url('article/comments',true)?>'},
                        {id:'article_read',text:'浏览记录',href:'<?=web_url('article/log',true)?>'}
                    ]

                },{
                    text:'标签管理',
                    items:[
                        {id:'labels',text:'标签列表',href:'<?=web_url('label',true)?>'}
                    ]
                },
                {
                    text:'说说管理',
                    items:[
                        {id:'add_talk',text:'发布',href:'<?=web_url('mood/publish',true)?>'},
                        {id:'talks_list',text:'已发布列表',href:'<?=web_url('mood',true)?>'},
                        {id:'talks_not_push',text:'草稿箱',href:'<?=web_url('mood/draft',true)?>'},
                        {id:'talks_comments',text:'评论列表',href:'<?=web_url('mood/comments',true)?>'}
                    ]
                },
                {
                        text:'相册管理',
                        items:[
                            {id:'add_talk',text:'上传新图片',href:'<?=web_url('photo/publish',true)?>'},
                            {id:'talks_list',text:'相册列表',href:'<?=web_url('photo',true)?>'},
                            {id:'talks_comments',text:'评论列表',href:'<?=web_url('photo/comments',true)?>'},
                            {id:'talks_comments',text:'浏览记录',href:'<?=web_url('photo/log',true)?>'}
                        ]
                    }



                ]
          }

        ];
        new PageUtil.MainPage({
            modulesConfig : config
        });
    });
</script>
</body>
</html>
